<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../css/main.css">
    <style>
        input {
            display: block;
        }
    </style>
</head>

<body>

<form action="<g:createLink action="createPersonAction" controller="person"/>">
    <input type="text" name="name" placeholder="Enter name">
    <input type="text" name="age" placeholder="Enter age">
    <input type="text" name="city" placeholder="Enter city">
    <input type="text" name="street" placeholder="Enter street">
    <input type="text" name="house" placeholder="Enter house">
    <input type="submit">
</form>

%{--<g:include action="show"/>--}%
<br>

<input type="button" value="Show all person" onclick="window.location.href='<g:createLink action="show" controller="person"/>'">



</body>
</html>